package com.minivision.fdiot.repository.mysql;

import java.util.Date;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.minivision.fdiot.entity.OpLog;

/**
 * 操作日志管理Dao
 * @author hughzhao
 * @2017年5月22日
 */
public interface OpLogRepository extends JpaRepository<OpLog, Long> {

	Page<OpLog> findByCreateTimeBetweenOrderByCreateTimeDesc(Date startTime, Date endTime, Pageable pageable);
	
}
